home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000423_news@watsun.cc.columbia.edu _Mon Mar 29 17:19:28 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
4KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA23825
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 29 Mar 1999 17:19:28 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA17227
for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Mar 1999 17:11:02 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jf3@my-dejanews.com
Subject: Re: setting up kermit
Date: Mon, 29 Mar 1999 21:55:21 GMT
Organization: Deja News - The Leader in Internet Discussion
Message-ID: <7doss4$vi6$1@nnrp1.dejanews.com>
To: kermit.misc@watsun.cc.columbia.edu
Frank-
I had tried DIAL earlier and while I could use it when I was manually dialing
and everything worked (I could interact with the paging service), when I put
it into a script it would dial, but then it seemed the the next OUTPUT
statement would not send anything out. My terminail would say something like
"call ended at time:day". Then it would redial and try again.
However, when I put in the "set carrier-watch off", the whole thing works like
a charm! Thanks for your help!!
Jeremy T. Finke
System Administrator
University of Evansville
In article <7dohoo$61d$1@newsmaster.cc.columbia.edu>,
fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
> In article <7doh16$k8c$1@nnrp1.dejanews.com>, <jf3@my-dejanews.com> wrote:
> : Ok here is some information that I figured out....
> :
> : THis is my script:
> : ------------------------------------------------------------
> : set input timeout proceed
> : set modem hayes
> : set dial dial-command atdt%s\{13}
> : set dial display on
> : set local-echo on
> : set duplex full
> : set line /dev/cua/b
> : set speed 19200
> : set parity even
> : set script echo
> : echo
> : clear
> : goto main
> : :tryagain
> : echo Trying again\7\13
> : hangup
> : :main
> : OUTPUT ATDT9,4250824\13
> : INPUT 40 CONNECT
> : IF FAILURE GOTO tryagain
> : INPUT 15 ID=
> : OUTPUT M\13
> : INPUT 15 ID,
> : OUTPUT 4353389\13
> : INPUT 15 essage
> : OUTPUT uagent is running on spruce fir cedar willow and poplar\13
> : hangup
> : exit
> : ---------------------------------------------------------
> :
> : If I type in the first half by hand (all of the set statements) and then I
> : type dial 94250824. It works like a charm and I can get it and manually do
> : all of the things that my script does. However if I manually type in the
> : OUTPUT ATDT line then I get the same error message:
> :
> : ?Connection on /dev/cua1 is not open.
> : ?Connection on /dev/cua1 is not open.
> : Trying again
> :
> : So that would say to me that there is a problem with the OUTPUT line?? Does
> : this make sense?? Has the scripting changed from version 6 to 7??
> :
> There is a difference between OUTPUT and DIAL. DIAL is special because it
> does not require the carrier signal to be present on the serial device; after
> all, how can it be, since the connection has not yet been made?
>
> OUTPUT, on the other hand, does require carrier unless you first tell it not
> to with "set carrier-watch off".
>
> Why not just use the DIAL command?
>
> - Frank
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own